package com.dm.cloud.file.service.impl;

import com.dm.cloud.tkmybatis.service.BaseMapper;
import com.dm.cloud.file.mapper.FileLogMapper;
import com.dm.cloud.file.service.FileLogService;
import com.dm.cloud.file.common.po.FileLog;
import com.dm.cloud.core.exception.CustomException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
   * @author hcx
   * @type FileLogServiceImpl.java
   * @desc FileLog serviceImpl
   */
@Service

@Transactional

public class FileLogServiceImpl implements FileLogService {


    @Autowired
    private FileLogMapper fileLogMapper;


    @Override
    public BaseMapper getMapper() {
        return fileLogMapper;
    }
    public void processBeforeOperation(FileLog entity, BaseOperationEnum operationEnum) throws CustomException {
    }

    public void processAfterOperation(FileLog entity, BaseOperationEnum operationEnum) throws CustomException {
    }


}
